using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN LoaiDiemEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: LoaiDiemEntity</para>
	/// <para>Description: ClassLoaiDiemEntity store data of table LoaiDiem</para>
	///</summary>

	[DataContract]
	public partial class LoaiDiemEntity{


		private bool _InternalChangedIsNullLoaiDiem_ID=true;
		private bool _IsNullLoaiDiem_ID=true;
		private bool _InternalChangedIsNullMaLoaiDiem=true;
		private bool _IsNullMaLoaiDiem=true;
		private bool _InternalChangedIsNullTenLoaiDiem=true;
		private bool _IsNullTenLoaiDiem=true;
		private bool _InternalChangedIsNullHeSo=true;
		private bool _IsNullHeSo=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullIsDiemTongKet=true;
		private bool _IsNullIsDiemTongKet=true;
		private int _LoaiDiem_ID;
		private string _MaLoaiDiem;
		private string _TenLoaiDiem;
		private Decimal _HeSo;
		private string _GhiChu;
		private bool _IsDiemTongKet;
		[DataMember]
		public bool IsNullLoaiDiem_ID{
			get{return _IsNullLoaiDiem_ID;}
			set{if(!_InternalChangedIsNullLoaiDiem_ID)_IsNullLoaiDiem_ID=value;}
		}
		[DataMember]
		public bool IsNullMaLoaiDiem{
			get{return _IsNullMaLoaiDiem;}
			set{if(!_InternalChangedIsNullMaLoaiDiem)_IsNullMaLoaiDiem=value;}
		}
		[DataMember]
		public bool IsNullTenLoaiDiem{
			get{return _IsNullTenLoaiDiem;}
			set{if(!_InternalChangedIsNullTenLoaiDiem)_IsNullTenLoaiDiem=value;}
		}
		[DataMember]
		public bool IsNullHeSo{
			get{return _IsNullHeSo;}
			set{if(!_InternalChangedIsNullHeSo)_IsNullHeSo=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullIsDiemTongKet{
			get{return _IsNullIsDiemTongKet;}
			set{if(!_InternalChangedIsNullIsDiemTongKet)_IsNullIsDiemTongKet=value;}
		}
		[DataMember]
		public int LoaiDiem_ID{
			get{return _LoaiDiem_ID;}
			set{
				_LoaiDiem_ID=value;
				if(_LoaiDiem_ID!=null){
					_IsNullLoaiDiem_ID=false;
					_InternalChangedIsNullLoaiDiem_ID=true;
				}
			}
		}
		[DataMember]
		public string MaLoaiDiem{
			get{return _MaLoaiDiem;}
			set{
				_MaLoaiDiem=value;
				if(_MaLoaiDiem!=null){
					_IsNullMaLoaiDiem=false;
					_InternalChangedIsNullMaLoaiDiem=true;
				}
			}
		}
		[DataMember]
		public string TenLoaiDiem{
			get{return _TenLoaiDiem;}
			set{
				_TenLoaiDiem=value;
				if(_TenLoaiDiem!=null){
					_IsNullTenLoaiDiem=false;
					_InternalChangedIsNullTenLoaiDiem=true;
				}
			}
		}
		[DataMember]
		public Decimal HeSo{
			get{return _HeSo;}
			set{
				_HeSo=value;
				if(_HeSo!=null){
					_IsNullHeSo=false;
					_InternalChangedIsNullHeSo=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public bool IsDiemTongKet{
			get{return _IsDiemTongKet;}
			set{
				_IsDiemTongKet=value;
				if(_IsDiemTongKet!=null){
					_IsNullIsDiemTongKet=false;
					_InternalChangedIsNullIsDiemTongKet=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END LoaiDiemEntityBase*****************************************/
	/*****************************************************************************************************/
}

